package com.sd.sl;

import java.io.*;
import java.util.Scanner;

public class Test5 {
    public static void saveFiledata(String fileName) throws IOException {
        FileWriter fileWriter = new FileWriter(fileName);
        BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);
        bufferedWriter.write(1);
        bufferedWriter.close();
    }

    public static void main(String[] args) throws IOException {
        Scanner scanner = new Scanner(System.in);
        String fileName = scanner.next();
        saveFiledata(fileName);
        FileReader reader = new FileReader("1.txt");
        BufferedReader bufferedReader = new BufferedReader(reader);
        String readerLine;
        while ((readerLine=bufferedReader.readLine())!= null){
            System.out.println(readerLine);
        }
    }

    }
